package com.dddd.blog.api.admin.feign;

import com.dddd.blog.blogcommon.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 喵星球的大橘
 */
@FeignClient(name = "blogPostService",path = "/", qualifier = "blogPostService")
//@Component
public interface PostInfoClient {

    /**
     * 获取系统文章数目
     * @return
     */
    @GetMapping("/post/count")
    Result getPostCount();
}
